package com.kalle.workflow.mapper;

import com.kalle.workflow.elements.Process;

import java.util.List;
import java.util.Map;

public interface ProcessMapper {

    Process selectById(String id);

    Process selectByDeploymentId(String deploymentId);

    Process selectByProcessKey(String processKey);

    void insert(Process process);

    List<Process> list(Map<String, Object> conditionMap);

    void update(Process process);

}
